﻿using ZR.Model;
using ZR.Model.Souvenir;
using ZR.Model.Souvenir.Dto;

namespace ZR.Service.Souvenir.IService
{
    public interface ICartService : IBaseService<Cart>
    {
        Task<int> InsertCartAsync(Cart cart);
        
        Task<int> UpdateCartAsync(Cart cart);

        Task<int> DeleteCartAsync(int cartId);
        
        Task<PagedInfo<CartDto>> SelectCartWithPageAsync(CartQueryDto cartQueryDto);
        
        Task<Cart> SelectCartAsyncById(int cartId);
    }
}